package com.ele.dao;

import com.ele.pojo.Business;

import java.sql.SQLException;
import java.util.List;

public interface BusinessDao {
    Integer BusinessRegister(Business business) throws Exception;
    Business businessLogin(String account,String password) throws Exception;
    Integer businessUpdate(Business business) throws Exception;
    Integer businessDelete(String id)throws Exception;
    List<Business> findAll(String account , String contact, String telephone,String currentPage,String pageSize) throws Exception;

    Long selectCount() throws SQLException;

}
